package com.moore.service;

import com.moore.bean.Community;
import com.moore.dto.ResponseData;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

public interface CommunityService {
    ResponseData addCommunity(Community community);

    ResponseData getCommunity(Community community, HttpServletRequest request);

    ResponseData updateCommunity(Community community);

    ResponseData deleteCommunity(List<Community> communities);
}
